<!--#include file="../main/top.asp" -->
<%
'*****************************************************
'Description: 期初余额表单页
'Copyright:Copyright(c)2012
'Company:204studio
'@author:fty
'@version:1.0
'******************************************************
%>
<%
sql = "select * from cw_view_remain"
set rs = ado_query(sql)
%>
<div class="function_title"><span class="t2"><img src="../images/dqwz.gif">当前位置：期初余额管理</span></div>
<div class="function_content">
<form method="post" name="adminRemainEdit" id="adminRemainEdit" action="adminRemainEdit_do.asp" onSubmit="return Validator.Validate(this,3)">
<input type="submit" name="submit" value="更新数值" class="button" />
  <table width="50%" border="0" cellspacing="0" cellpadding="0" class="listTable">
    <tr class="title_line">
      <td >序号</td>
      <td >学院名称</td>
      <td >剩余金额</td>
    </tr>
<%
i = 1
'循环显示出所有学院信息
do while not rs.eof
%>
    <tr>
      <td><%=i%></td>
      <td><%=rs("collegename")%></td>
       <td>
       <input name="id" type="hidden" id="id" value="<%=rs("collegeId")%>" />
       <input name="remainValue<%=rs("collegeId")%>" type="text" id="remainValue<%=rs("collegeId")%>" value="<%=rs("remainValue")%>" dataType="Double" msg="此项必须为数字"/>
       </td>
    </tr>
<%
i=i+1
rs.movenext
loop
%>
  </table>
<input type="submit" name="submit" value="更新数值" class="button" />
</form>
</div>
<%
rs.close : set rs=nothing
conn.close : set conn=nothing
%>
<!--#include file="../main/bottom.asp" -->
